#coding:utf-8
import requests
from bs4 import BeautifulSoup
import lxml


url ="http://job.myclub2.com/Home/ArticleDetails/7c816283-7ff1-43db-8789-ab10207885ba"
head = {'User-Agent':'Mozilla/5.0 (Windows NT 10.0; …) Gecko/20100101 Firefox/55.0'}
res = requests.get(url)
read = res.text
html = BeautifulSoup(read,"lxml")

#title = html.find_all("h2")  #标题
#time = html.find_all("span")[2].string
#place = html.find_all("span")[4].string
#print(title[0].string)
#print(time)
#print(place)

table = html.find_all("table")[2]
td = table.find_all("tr")[2]
p_tag = td.find_all("p")

span_list = []
for p in p_tag:
    item = p.find_all("span")
    span_list.append(item)


a =""
for outer in span_list:
    if isinstance(outer,list):
        for inner in outer:
            if inner.string != None:
                a += inner.string
                #print(inner.string,end="")
    else:
        if outer.string != None:
            a += outer.string
            #print(outer.string,end="")

print(a.replace(" ",""))